import { PluginDefinition } from 'yam-types'
import DeployWorkloadOperator from './handlers/deploy'
import * as schema from './schema.json'
import { DeployWorkload } from './types'
import { name, version } from './package.json'

export default {
  name,
  schema,
  version,
  handlers: {
    'deploy': DeployWorkloadOperator
  }
} as PluginDefinition<DeployWorkload>
